package com.fuqi.android.zhongcai.business.shuig.request.result;

import com.fuqi.android.zhongcai.base.Constants;
import com.fuqi.framework.utils.StringUtil;
import com.google.gson.annotations.SerializedName;

/**
 * Created by Lenovo on 2016/9/27.
 */
public class QueryOrderListByDateResult {
    @SerializedName("ORDER_ID")
    private String ORDER_ID;
    @SerializedName("CONTACT_NAME")
    private String CONTACT_NAME;
    @SerializedName("CONTACT_PHONE")
    private String CONTACT_PHONE;
    @SerializedName("FINISH_DATE")
    private String FINISH_DATE;
    @SerializedName("ADDR_AREA")
    private String ADDR_AREA;
    @SerializedName("ADDR_DETAIL")
    private String ADDR_DETAIL;

    /**
     * 安装、改装
     */
    @SerializedName("INSTALL_CONTENT")
    private String ORDER_TYPE;

    public String getORDER_ID() {
        return ORDER_ID;
    }

    public void setORDER_ID(String ORDER_ID) {
        this.ORDER_ID = ORDER_ID;
    }

    public String getCONTACT_NAME() {
        return CONTACT_NAME;
    }

    public void setCONTACT_NAME(String CONTACT_NAME) {
        this.CONTACT_NAME = CONTACT_NAME;
    }

    public String getCONTACT_PHONE() {
        return CONTACT_PHONE;
    }

    public void setCONTACT_PHONE(String CONTACT_PHONE) {
        this.CONTACT_PHONE = CONTACT_PHONE;
    }

    public String getFINISH_DATE() {
        return FINISH_DATE;
    }

    public void setFINISH_DATE(String FINISH_DATE) {
        this.FINISH_DATE = FINISH_DATE;
    }

    public String getADDR_AREA() {
        return ADDR_AREA;
    }

    public void setADDR_AREA(String ADDR_AREA) {
        this.ADDR_AREA = ADDR_AREA;
    }

    public String getADDR_DETAIL() {
        return ADDR_DETAIL;
    }

    public void setADDR_DETAIL(String ADDR_DETAIL) {
        this.ADDR_DETAIL = ADDR_DETAIL;
    }

    public String getORDER_TYPE() {
        if(StringUtil.isEmpty(ORDER_TYPE)) return Constants.AN_ZHUNG;
        return ORDER_TYPE;
    }

    public void setORDER_TYPE(String ORDER_TYPE) {
        this.ORDER_TYPE = ORDER_TYPE;
    }
}
